from rest_framework import serializers
from .models import Survey


class SurveySerializer(serializers.ModelSerializer):
    """企业信息安全审计问卷序列化器"""
    
    class Meta:
        model = Survey
        fields = '__all__'
        read_only_fields = ['id', 'created_at', 'updated_at']
